package com.hxzy.shop.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName LoginReq
 * @Author wengjt
 * @Date 2021/8/3 10:32
 * @Description
 **/

@ApiModel
@Data
public class LoginReq implements Serializable {

    @NotBlank(message = "账户不能为空")
    @ApiModelProperty("账户")
    private String account;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty("验证码")
    private String captchaCode;

    @ApiModelProperty("验证流水")
    @NotBlank(message = "验证流水不能为空")
    private String captchaNo;
}
